package com.hhit.zhgd.service

import com.baomidou.mybatisplus.extension.service.IService
import com.hhit.zhgd.domain.dto.MachineryInfoByNameDTO
import com.hhit.zhgd.domain.dto.MachineryTableInfoDTO
import com.hhit.zhgd.domain.dto.StatisticMachineryInfoDTO
import com.hhit.zhgd.domain.entity.ZhgdMachineryInfo
import com.hhit.zhgd.domain.response.BaseResp

interface ZhgdMachineryInfoService:IService<ZhgdMachineryInfo> {

    fun addMachineryInfo(zhgdMachineryInfo: ZhgdMachineryInfo?): BaseResp<Any?>

    fun getMachineryInfoByName(): List<MachineryInfoByNameDTO?>?

    fun updateMachineryInfo(zhgdMachineryInfo: ZhgdMachineryInfo?): BaseResp<Any?>

    fun statisticMachineryInfo(): StatisticMachineryInfoDTO?

    fun getMachineryTableInfo(): MachineryTableInfoDTO?
}